package com.lp.canal;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author 10263
 */
@Data
@ConfigurationProperties(prefix = "canal")
@Component
public class CanalProperties {

    private String hostname;

    private Integer port;

    private String destination;

    private String username;

    private String password;

}
